package net.mfjassociates.finance.domain.mfjfin_newdb;

import java.util.Set;
import javax.persistence.Column;
import javax.persistence.OneToMany;
import org.springframework.roo.addon.dbre.RooDbManaged;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaActiveRecord(entityName="net.mfjassociates.finance.domain.mfjfin_newdb.ControlMappings", versionField = "", table = "ControlMappings", schema = "dbo")
public class ControlMappings {

	@OneToMany(mappedBy = "mappingId")
    private Set<ItemizedFields> itemizedFieldss;

	@Column(name = "ControlName", length = 50)
    private String controlName;

	@Column(name = "FormName", length = 50)
    private String formName;

	@Column(name = "CorrespondingTableName", length = 50)
    private String correspondingTableName;

	@Column(name = "CorrespondingRowID")
    private Integer correspondingRowId;

	public Set<ItemizedFields> getItemizedFieldss() {
        return itemizedFieldss;
    }

	public void setItemizedFieldss(Set<ItemizedFields> itemizedFieldss) {
        this.itemizedFieldss = itemizedFieldss;
    }

	public String getControlName() {
        return controlName;
    }

	public void setControlName(String controlName) {
        this.controlName = controlName;
    }

	public String getFormName() {
        return formName;
    }

	public void setFormName(String formName) {
        this.formName = formName;
    }

	public String getCorrespondingTableName() {
        return correspondingTableName;
    }

	public void setCorrespondingTableName(String correspondingTableName) {
        this.correspondingTableName = correspondingTableName;
    }

	public Integer getCorrespondingRowId() {
        return correspondingRowId;
    }

	public void setCorrespondingRowId(Integer correspondingRowId) {
        this.correspondingRowId = correspondingRowId;
    }
}
